
    /**  
    * @Title: TableInfo.java
    * @Package com.frames.table.separator
    * @Description: 
    * @author likai
    * @date 2017年4月28日
    * @version V1.0  
    */
    
package com.frames.table.separator;


    /**
    * @ClassName: TableInfo
    * @Description: 
    * @author likai
    * @date 2017年4月28日
    *
    */

public class TableInfo {
	private String database;
	private String tableName;
	private String mainTable;
	private String unionTable;//组合表名
	private Integer rowNum;
	private Long startIndex;//自增起始
	private String tableDDl;//表ddl
	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public Integer getRowNum() {
		return rowNum;
	}

	public void setRowNum(Integer rowNum) {
		this.rowNum = rowNum;
	}

	public String getDatabase() {
		return database;
	}

	public void setDatabase(String database) {
		this.database = database;
	}

	public String getMainTable() {
		return mainTable;
	}

	public void setMainTable(String mainTable) {
		this.mainTable = mainTable;
	}

	

	

	public Long getStartIndex() {
		return startIndex;
	}

	public void setStartIndex(Long startIndex) {
		this.startIndex = startIndex;
	}

	public String getTableDDl() {
		return tableDDl;
	}

	public void setTableDDl(String tableDDl) {
		this.tableDDl = tableDDl;
	}

	public String getUnionTable() {
		return unionTable;
	}

	public void setUnionTable(String unionTable) {
		this.unionTable = unionTable;
	}

	
	    /* 
	    * @Description: 
	    * 
	    * @return
	    * @see java.lang.Object#toString()
	    */
	    
	@Override
	public String toString() {
		return "TableInfo [database=" + database + ", tableName=" + tableName + ", mainTable=" + mainTable
				+ ", unionTable=" + unionTable + ", rowNum=" + rowNum + ", startIndex=" + startIndex + ", tableDDl="
				+ tableDDl + "]";
	}

	
	
}
